package ink.teamwork.user.service;

import com.googlecode.genericdao.search.SearchResult;
import ink.teamwork.user.entity.User;

public interface UserService {

    boolean save(User user);
    boolean update(User user);
    User queryByMobile(String mobile);
    User queryById(String id);
    SearchResult<User> queryPage(int start, int size);

}
